export default{
	namespaced:true,
	state:{
		order:JSON.parse(uni.getStorageSync('order') || '[]'),
		
	},
	mutations:{
		updateOrder(state,order){
			state.order=order;
			this.commit('m_doctor/saveOrderToStorage')
		},
		saveOrderToStorage(state) {
			uni.setStorageSync('order', JSON.stringify(state.order))
		},
		
	}
}